/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Review.test1;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author THIEN
 */
public class Test {
    public static void main(String args[]){
        Data d = new Data();
        ThreadOne t1 = new ThreadOne(d);
        ThreadTwo t2 = new ThreadTwo(d);
        try {
            t1.t.join();
            t2.t.join();
        } catch (InterruptedException ex) {
            Logger.getLogger(Test.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

}
